package com.cloud.configures;

import feign.Contract;
import org.springframework.cloud.openfeign.FeignClientsConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author: zoub
 * @date 2021/2/3 16:51
 **/
@Configuration
public class CustomFeignConfigure {

    @Bean
    public Contract feignContract() {
        //采用feign 契约无法使用MVC注解
        return new feign.Contract.Default();
    }




}
